export default {
	socketTask:{},
	initWeb:()=>{
		this.socketTask = uni.connectSocket({
			url: 'wss://testcall.shengtucuican.com:9999/', // 替换为实际服务器地址
			success: (res) => {
				console.log('WebSocket连接创建成功')
			},
			fail: (err) => {
				console.error('WebSocket连接创建失败：', err)
			}
		})
		return  this.socketTask
	}
}